tools::check_packages_in_dir(
  # dir = "C:/Users/mail/Documents/R/easystats",
  dir = "D:/mail/Documents/Coding/R/easystats/",
  check_args = c("--as-cran", ""),
  reverse = list(repos = getOption("repos")["CRAN"])
)
